while True:
    try:
        a = input()
        zimu=''
        for i in a:
            if i.isalpha(): #至少有一个字符且所有字符为字母时返回True
                zimu+=i
        zmpx=sorted(zimu,key=str.upper)#以字母转为大写后字符串升序排序的索引排列原字符串
        f=''
        idx=0
        for i in range(len(a)):
            if a[i].isalpha():
                f+=zmpx[idx]
                idx+=1
            else:
                f+=a[i]
        print(f)
    except(EOFError,KeyboardInterrupt):
        break